<?php
App::uses('Component', 'Controller');
class CourseComponent extends Component {
	
	public function getAll(){
		$this->Course = ClassRegistry::init('Course');
        return $this->Course->find('all');
	}
	
}
?>